package model

import "time"

type Access struct {
	Id        int       `json:"id" gorm:"primarykey;autoIncrement;type:Long"`
	ContentId string    `json:"contentId" gorm:"type:varchar(255)"`
	Url       string    `json:"url" gorm:"type:varchar(255)"`
	Ip        string    `json:"ip" gorm:"type:varchar(255)"`
	Header    string    `json:"header" gorm:"type:varchar(255)"`
	Query     string    `json:"query" gorm:"type:varchar(255)"`
	Body      string    `json:"body" gorm:"type:text"`
	CreatedAt time.Time `json:"createdAt" gorm:"autoCreateTime;type:datetime"`
	UpdatedAt time.Time `json:"updatedAt" gorm:"autoUpdateTime;type:datetime"`
}
